<template>
	<view class="box">
			
		<div class="list">
			<div class="div" v-for="item in data" :key="item.id">
				<div class="left">
				<div class="tit">{{item.name}}</div>
				<div class="bot">
					<p class="p1">系统编号：{{item.xits}}</p>
					<p>客户归属：{{item.gv}}</p>
				</div>
				</div>
				<div class="right">
					<label class="radio" @click="goyr">
						<radio value="12222" /><text></text>
					</label>
				</div>
			</div>
		</div>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				keyword: '',
				data:[
					{
						id:1,
						name:"榕城有限公司",
						xits:"超时任务",
						gv:"赵小刚",
					},
					{
						id:2,
						name:"西星有限公司",
						xits:"任务进程",
						gv:"赵小刚",
					},
					{
						id:3,
						name:"凌月有限公司",
						xits:"我的时间",
						gv:"赵小刚",
					},
					{
						id:4,
						name:"惠鑫佳有限公司",
						xits:"进行操作",
						gv:"赵小刚",
					},
					{
						id:5,
						name:"御林有限公司",
						xits:"超市成功",
						gv:"赵小刚",
					},
					{
						id:6,
						name:"友全有限公司",
						xits:"我的世界",
						gv:"赵小刚",
					},
					{
						id:7,
						name:"森宏有限公司",
						xits:"KH20190324010001",
						gv:"赵小刚",
					},
					{
						id:8,
						name:"卓锦有限公司",
						xits:"KH20190324010001",
						gv:"赵小刚",
					},
					{
						id:9,
						name:"启蒙有限公司",
						xits:"KH20190324010001",
						gv:"赵小刚",
					},
					{
						id:10,
						name:"和行有限公司",
						xits:"KH20190324010001",
						gv:"赵小刚",
					},
					{
						id:11,
						name:"振兴有限公司",
						xits:"KH20190324010001",
						gv:"赵小刚",
					},
					{
						id:12,
						name:"恒源有限公司",
						xits:"KH20190324010001",
						gv:"赵小刚",
					},
				]
			}
		},
		methods: {
			goyr(){
				uni.navigateTo({
					url:'/pages/message/crunch/wdqb/wdqb'
				})
			},
			soso(){
				this.data = this.data.filter(item=>{
					if(item.name.toLowerCase().includes(this.keyword)){
						return item
					}
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.box{
		width: 100%;
		height: 100%;
		box-sizing: border-box;
		padding: 10rpx 20rpx;
		background-color: #f8f8f8;
		.list{
			width: 100%;
			height: 100%;
			border-top: 1px solid #f2f2f2;
			margin-top: 20rpx;
			padding-top: 40rpx;
			.div{
				width: 100%;
				height: 200rpx;
				background-color: white;
				border-radius: 40rpx;
				margin-bottom: 20rpx;
				display: flex;
				padding: 0px 20rpx;
				align-items: center;
				
				justify-content: space-between;
				color: #999999;
				.tit{
					font-weight: 700;
					margin-bottom: 10rpx;
				}
				.bot{
					font-size: 30rpx;
					.p1{
						margin-bottom: 5rpx;
					}
				}
			}
		}
	}

</style>
